package com.atyoung.youngmall.member.feign;

import com.atyoung.common.utils.R;
import org.springframework.cloud.client.loadbalancer.LoadBalanced;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author yangxiaoguang
 * @date 2020/5/17
 */
//指定哪个服务
@FeignClient("youngmall-coupon")
public interface CouponFeignServrice {
    //远程服务的完整接口
    @RequestMapping("coupon/coupon/member/list")
    R findMemberCoupon();
}
